import request from "@/utils/request";
import { ResultUserInfo } from "@/type/UserInfoType";
import { ResponseType } from "@/type/ResponseType";

enum Enum {
   fetchUserInfoAPI = "/user/info"
}

/**
 * @description 获取用户信息的接口
 * */
export const fetchUserInfoAPI = () => request.get<ResultUserInfo, ResponseType<ResultUserInfo>>(Enum.fetchUserInfoAPI);
